package com.base.po.voip;

import java.util.Date;

/**
 * 分享链接
 * 
 * @author K
 *
 */
public class ShareLink {
    private String id; // 链接id

    private String parentid;

    private String majortitle;

    private String secondary;

    private String pic;
    
    private Date createtime;

    private String url;

    private Byte datastatus;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getMajortitle() {
        return majortitle;
    }

    public void setMajortitle(String majortitle) {
        this.majortitle = majortitle == null ? null : majortitle.trim();
    }

    public String getSecondary() {
        return secondary;
    }

    public void setSecondary(String secondary) {
        this.secondary = secondary == null ? null : secondary.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public ShareLink() {
		super();
	}
	
	public ShareLink(String parentid, Byte datastatus) {
		super();
		this.parentid = parentid;
		this.datastatus = datastatus;
	}

	public ShareLink(String id, String parentid, String majortitle, String secondary, String pic, Date createtime,
			String url, Byte datastatus) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.majortitle = majortitle;
		this.secondary = secondary;
		this.pic = pic;
		this.createtime = createtime;
		this.url = url;
		this.datastatus = datastatus;
	}
}